package com.msh.artascope.web.common.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

import java.util.List;

@Data
@ConfigurationProperties(prefix="msh.login.local")
public class ConfigLoginConfiguration {
  private Long sysId;
  private Account account;
  private List<Auth> auths;
  private String authCodes;
  private String roleCodes;

  @Data
  public static class Account{
    private Long id;
    private String account;
    private Long tenantId;

  }
  @Data
  public static class Auth{
    private Long id;
    private String name;
    private String path;
    private String type;
  }
}
